package com.zhk.entry.ioc;

public class Test {
    public static void main(String[] args) {
//        Person person = new Person("张三");
//        person.driver();
        TPerson person = new TPerson(new TCar());
        person.drive();
    }
}
